package com.zt.securityTest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;

/**
 * 菜单实体类
 * time: 2024.11.26 14.58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_menu")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Menu implements Serializable {

    private static final long serialVersionUID = 5243587633687716782L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String menuName;

    private String path; //路由地址

    private String component; //组件地址

    private String visible; //0可见，1隐藏

    private String status; //0正常，1停用

    private String perms; //权限标识

    private String icon; //菜单图标

    private Long createBy;

    private Date createTime;

    private Long updateBy;

    private Date updateTime;

    private Integer delFlag;//0未删

    private String remark; //备注

}
